package com.walnut.lom_system.common.lang;

/**
 * @author chenhetao
 * @version 1.0
 * @className Const
 * @description TODO
 * @date 2022/1/26 03:19
 */
public class Const {

    /**
     * CAPTCHA_KEY
     */
    public final static String CAPTCHA_KEY = "captcha";

    /**
     * 注册邮件发送代码
     */
    public static final Integer MAIL_REGISTER = 40001;
    /**
     * 忘记密码邮件发送代码
     */
    public static final Integer MAIL_FORGET = 40002;


    /** 普通账户在用 */
    public static final int USER_ON_USE = 1;
    /** 普通账户被锁 */
    public static final int USER_LOCKED = 2;
    /** 普通账户已注销 */
    public static final int USER_LOG_OFF = 3;


    public static final int OP_SUCCESS = 1;

    public static final int OP_FAILED_NORMAL = 505;
    public static final int OP_FAILED_NO_PERMISSION = 403;
    public static final int OP_FAILED_INPUT_ERR = -2;
    public static final int OP_FAILED_INNER_ERR = 500;
    public static final int OP_DATABASE_ERR = 501;
    public static final int OP_NO_EFFECT = 0;
    public static final int OP_DENIED = -1;


}

